package com.syx.service.impl;

import com.syx.dao.ProDao;
import com.syx.entity.Pro;
import com.syx.service.ProService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ProServiceImpl implements ProService {
    @Resource
    private ProDao dao;

    @Override
    public List list(Map map) {
        return dao.list(map);
    }

    @Override
    public List baseList() {
        return dao.baseList();
    }

    @Override
    public int add(Pro pro) {
        return dao.add(pro);
    }
}
